package com.ayoka.adapter;

import com.ayoka.R;
import com.ayoka.mvp.CustomerServiceMVP.CustomerServiceModel.MessageOptionBean;
import com.jcp.baselibrary.brvah.BaseQuickAdapter;
import com.jcp.baselibrary.brvah.BaseViewHolder;

import java.util.List;

/**
 * Created by jinchunping on 2018/4/11.
 */

public class CustomerServiceMessageOptionAdapter extends BaseQuickAdapter<MessageOptionBean, BaseViewHolder> {

    public CustomerServiceMessageOptionAdapter(List<MessageOptionBean> data) {
        super(R.layout.item_customer_service_message_option, data);
    }

    @Override
    protected void convert(final BaseViewHolder holder, MessageOptionBean item) {
        holder.setText(R.id.tv_name, item.text);
    }
}
